package cn.yitun.chat.yitunservercommonlib.enums.groupChat;

/**
 * 校验设置类型
 */
public enum GroupJoinVerifySettingTypeEnums {

    VERIFY_TYPE_ANY("1", "允许任何人添加"),

    VERIFY_TYPE_AUTH("2", "需要验证"),

    VERIFY_TYPE_ANSWER("3", "需要回答正确的问题"),

    VERIFY_TYPE_CONFIRM("4", "需要回答问题并由我确认"),

    VERIFY_TYPE_INVITE("5", "只允许邀请加入"),

    VERIFY_TYPE_NEVER("6", "不允许任何人加入"),

    ;
    private String type;
    private String name;

    GroupJoinVerifySettingTypeEnums() {
    }

    GroupJoinVerifySettingTypeEnums(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

}
